package com.fzkj.project.entiy;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fzkj.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 班级管理对象 pro_bj
 *
 * @author zhangmx
 * @date 2024-05-11
 */
@Data
public class ProBj
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /**
     * 学校同步id
     */
    private String universityId;

    /**
     * 年级
     */
    private String nj;

    /** 父ID */
    @Excel(name = "父ID")
    private String pId;

    /**
     * 学院id
     */
    private String xyid;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 指导教师ID */
    @Excel(name = "指导教师ID")
    private String terId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private String stuId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 学生助教
     */
    private String xsName;

    /**
     * 指导教师
     */
    private String jsName;

    private String zyName;

    private String xyName;

    private String njName;

    private String xyId;

    private String njId;

    private String zyId;
    private int userCount;

    private int wcCount;

    private int jcldJdCount;

    private int ldzjJdCount;

    private int ldgyJdCount;

    private int ldcgJdCount;

    private BigDecimal jdCount;

    private List<String> bjIds;

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pId", getpId())
            .append("number", getNumber())
            .append("name", getName())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
